import { getData } from "../../http";

import {publicPath} from "../constants"

// 根据文章id获取数据
export function getArticle(id) {
    return getData(publicPath + `/article/${id}`)
}